<ul>
{nocache}
	{foreach $menu as $item}
		{if $item.status > 0}
			<li{if $item.id==$active}  class="active"{/if}>
				<a href="{$item.link}">{$item.title}</a>
				{if $item.id==$active}<i></i>{/if}
   			{if isset($item.children)}
					{include file='blocks/menu-template.tpl' menu=$item.children active=$active}
				{/if}
			</li>
		{/if}
	{/foreach}
{/nocache}
</ul>